package com.ccp.dev.workflow.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.workflow.model.BpmFlowUserHistory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassDescribe:
 * 指定任务执行人历史
 * @author :wangcheng
 * Date: 2019-07-24
 */
public interface BpmFlowUserHistoryDao extends IBaseMapper<BpmFlowUserHistory,String> {
    /**
     * 查询所有该流程该用户的历史记录
     * @param procDefId 流程定义id
     * @param userId 用户id
     * @return 历史记录列表
     */
    List<BpmFlowUserHistory> queryAllHistory(@Param("flowId") String procDefId, @Param("userId") String userId);
}
